<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css"/>
    <style>
        html, body {
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }
        .content {
            height: 100%;
            padding: 0 46px;
            display: -webkit-box;
            -webkit-box-align: center;
        }
        .main {
            width: 100%;
            border-radius: 5px;
            background-color: #fff;
            overflow: hidden;
        }
        .main .main_t {
            height: 50px;
            line-height: 50px;
            font-size: 16px;
            color: #333;
            text-align: center;
            border-bottom: 1px solid #e8e8e8;
        }
        .main .main_b {
            padding: 15px;
        }
        .info {
            color: #999;
            font-size: 12px;
            margin-bottom: 10px;
        }
        .address_box {
            display: -webkit-box;
            display: -webkit-flex;
            padding-bottom: 5px;
        }
        .address_box .address_boxl {
            padding-right: 5px;
        }
        .address_box .address_boxl img {
            width: 18px;
            display: block;
        }
        .address_box .address_boxr {
            width: 0;
            flex: 1;
            -webkit-flex: 1;
            box-flex: 1;
            -webkit-box-flex: 1;
        }
        .address_box .address_boxr .address {
            font-size: 13px;
            color: #333;
        }
        .btn_box {
            padding-top: 15px;
            display: -webkit-box;
            display: -webkit-flex;
        }
        .btn_box .btn {
            height: 38px;
            line-height: 38px;
            border-radius: 5px;
            text-align: center;
            font-size: 15px;
            color: #fff;
            padding: 0 10px;
            background-color: #d6d6d6;
            -webkit-flex: 1;
            box-flex: 1;
            -webkit-box-flex: 1;
        }
        .btn_box .btn span {
            font-size: 12px;
        }
        .btn_box .btn2 {
            background-color: #e62442;
            flex: 1;
            -webkit-flex: 1;
            box-flex: 1;
            -webkit-box-flex: 1;
            margin-left: 10px;
        }
    </style>
</head>
<body>
    <div class="content" id="dialog">
        <div class="main">
            <div class="main_t">选择订单</div>
            <div class="main_b">
                <div>
                    确定选择此无法扫描的订单吗？
                </div>
                <div class="btn_box">
                    <div class="btn" tapmode onclick="fnClose();">取消</div>
                    <div class="btn btn2" tapmode onclick="fnConfirm();">确认</div>
                </div>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/zepto.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript">
    apiready = function(){
        
    };

    // 关闭
    function fnClose() {
        setTimeout(function() {
            api.closeFrame();
        }, 200);
    }

    function fnConfirm () {
        var id = api.pageParam.id;
        toast('请在用户端完成确认');
        setTimeout(function() {
            api.closeFrame();
        }, 200);
    }


</script>
</html>